package com.dsl.tms.repository;

import com.dsl.tms.entity.db.Admin;
import org.springframework.data.jpa.repository.JpaRepository;

public interface AdminRepository extends JpaRepository<Admin,Integer> {

    public Admin findOneByUserNameAndPassword(String username,String password);

}
